<h1>Passport photos List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Passport</th>
      <th>Upload</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($passport_photos_list as $passport_photos): ?>
    <tr>
      <td><a href="<?php echo url_for('passport_photos/show?id='.$passport_photos['id']) ?>"><?php echo $passport_photos->getid() ?></a></td>
      <td><?php echo $passport_photos->getpassport_id() ?></td>
      <td><?php echo $passport_photos->getupload_id() ?></td>
      <td><?php echo $passport_photos->getcreated_at() ?></td>
      <td><?php echo $passport_photos->getupdated_at() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('passport_photos/new') ?>">New</a>
